//
//  CMDBHttpController.swift
//  CMDB
//
//  Created by 王磊 on 17/4/5.
//  Copyright © 2017年 CMDB. All rights reserved.
//

import UIKit


#if DEBUG
//    public let CMDB_Http_Formal_Domain: String = "http://120.92.44.254/cmdb-app/"
    public let CMDB_Http_Formal_Domain: String = "http://test.icmdb.cn/cmdb-app/"
#else
    public let CMDB_Http_Formal_Domain: String = "http://120.92.44.254:8080/cmdb-app/"
#endif

// 回调处理

public typealias CMDBHttpSuccessHandler = (sysTime: String,data: AnyObject?,page: String?) -> ()

public typealias CMDBHttpErrorHandler = (rescode: CMDBRescodeType) -> ()

public typealias CMDBHttpFailureHandler = () -> ()

public typealias CMDBNetWorkStatusHandler = (netConnetState: Bool) -> ()
